﻿using System.Windows.Controls;
using System.Windows.Media;

namespace Client.planet
{
    /// <summary>
    /// Interaction logic for Planet.xaml
    /// </summary>
    public partial class Planet : UserControl
    {
        public Planet()
        {
            InitializeComponent();
        }

        #region Properties
        public Planet[] MoonArray
        {
            get { return moonArray; }
            set { moonArray = value; }
        }
        internal PlanetType PlanetType
        {
            get { return planetType; }
            set { planetType = value; }
        }
        internal PlanetSize PlanetSize
        {
            get { return planetSize; }
            set { planetSize = value; }
        }
        internal PlanetWorth PlanetWorth
        {
            get { return planetWorth; }
            set { planetWorth = value; }
        }
        internal PlanetIndex PlanetIndex
        {
            get { return planetIndex; }
            set { planetIndex = value; }
        }
        public string PlanetName
        {
            get { return planetName; }
            set { planetName = value; }
        }

        public ImageSource ImageSource
        {
            get { return imageSource; }
            set { imageSource = value; }
        }
        #endregion

        #region Fields
        Planet[] moonArray;
        PlanetType planetType;
        PlanetSize planetSize;
        PlanetWorth planetWorth;
        PlanetIndex planetIndex;
        string planetName;

        ImageSource imageSource;
        #endregion       
    }
}
